package org.javagril.yuetong.service;

import org.javagril.yuetong.bean.User;
import org.javagril.yuetong.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginService {
    @Autowired
    UserMapper userMapper;
    public User loadUserByAccount(String account) {
        return userMapper.loadUserByUsername(account);
    }
}
